<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">uniacid</label>
            <div class="layui-input-block">
                <input type="text" name="uniacid" class="layui-input"  placeholder="请输入uniacid" value="{$row.uniacid|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">券的编号</label>
            <div class="layui-input-block">
                <input type="text" name="redpack_no" class="layui-input" lay-verify="required" placeholder="请输入券的编号" value="{$row.redpack_no|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">订单id</label>
            <div class="layui-input-block">
                <input type="text" name="user_id" class="layui-input"  placeholder="请输入订单id" value="{$row.user_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类型</label>
            <div class="layui-input-block">
                {foreach $getRedpackTypeList as $k=>$v}
                <input type="radio" name="redpack_type" value="{$k}" title="{$v}" {in name="k" value="$row.redpack_type"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">优惠券sn</label>
            <div class="layui-input-block">
                <input type="text" name="agent_sn" class="layui-input" lay-verify="required" placeholder="请输入优惠券sn" value="{$row.agent_sn|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">票务编号=线下凭证</label>
            <div class="layui-input-block">
                <input type="text" name="ticket_sn" class="layui-input"  placeholder="请输入票务编号=线下凭证" value="{$row.ticket_sn|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">折扣金额</label>
            <div class="layui-input-block">
                <input type="text" name="discount" class="layui-input"  placeholder="请输入折扣金额" value="{$row.discount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $getIsUsedList as $k=>$v}
                <input type="radio" name="is_used" value="{$k}" title="{$v}" {in name="k" value="$row.is_used"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">使用时间</label>
            <div class="layui-input-block">
                <input type="text" name="use_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入使用时间" value="{$row.use_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="text" name="end_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入结束时间" value="{$row.end_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="{$row.sort|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $getStatusList as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="$row.status"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>